package com.industrial.system.mapper;

import com.industrial.system.api.domain.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysAdminPersManagMapper {
    List<SysUser> selectUserList(SysUser user);

    SysUser selectUserById(String userId);

    SysUser checkUserNameUnique(String userName);

    SysUser checkEmailUnique(String email);

    int updateUser(SysUser user);

    int insertUser(SysUser user);

    int deleteUserById(@Param("userId") String userId);

}
